package com.zychao.smex.db.dao;

import java.util.Map;

import com.zychao.smex.db.MyDB;
import com.zychao.smex.po.Book;

public class BookDao {
	
	public Map<String, Book> getAllBook() {
		return MyDB.getAll();
	}
	
	public Book findBook(String bookId) {
		return MyDB.getAll().get(bookId);
	}
	
}
